interface member {
  columns: Array<any>;
  columnDatas: Array<any>;
}
//页码初始化设置
export const pageInit = {
  page: 1, //页码
  rowsPerPage: 15, //每页显示条数
  per_page: 15, //每页显示条数
  rowsNumber: 0, //总条数
};
//申请列表
export const applyData: member = {
  columns: [
    {
      name: 'apply_id',
      label: 'id',
      align: 'left',
      field: 'apply_id',
    },
    {
      name: 'company_name',
      label: '店铺公司名称',
      align: 'left',
      field: 'company_name',
    },
    {
      name: 'user_name',
      align: 'left',
      label: '店主用户名',
      field: 'user_name',
    },
    {
      name: 'address_detail',
      align: 'left',
      label: '公司详细地址',
      field: 'address_detail',
    },
    {
      name: 'company_phone',
      align: 'left',
      label: '公司电话',
      field: 'company_phone',
    },
    {
      name: 'company_type',
      align: 'left',
      label: '类型',
      field: 'company_type',
    },
    {
      name: 'apply_status',
      align: 'left',
      label: '审核状态',
      field: 'apply_status',
    },
    {
      name: 'operation',
      label: '操作',
      align: 'center',
    },
  ],
  columnDatas: [
    // {
    //   d: 0,
    //   edit: false,
    //   name: 'John Brown',
    //   jobNumber: '0001',
    //   department: 'Siake Park',
    // },
  ],
};

//店铺列表
export const shopListData: member = {
  columns: [
    {
      name: 'member_id',
      label: 'id',
      align: 'left',
      field: 'member_id',
    },
    {
      name: 'store_name',
      label: '店铺名称',
      align: 'left',
      field: 'store_name',
    },
    {
      name: 'company_name',
      align: 'left',
      label: '公司名称',
      field: 'company_name',
    },
    {
      name: 'logo',
      align: 'left',
      label: 'logo',
      field: 'logo',
    },
    {
      name: 'address_detail',
      align: 'left',
      label: '公司详细地址',
      field: 'address_detail',
    },
    {
      name: 'store_phone',
      align: 'left',
      label: '店铺电话',
      field: 'store_phone',
    },
    {
      name: 'store_status',
      align: 'left',
      label: '状态',
      field: 'store_status',
    },
    {
      name: 'operation',
      label: '操作',
      align: 'center',
    },
  ],
  columnDatas: [],
};
